//
//  MBSpaceAlbumHeaderView.h
//  MiBaoTu
//
//  Created by admin on 16/9/22.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//  专辑表头

#import <UIKit/UIKit.h>

@class MBSpaceAlbumHeaderView;
@protocol MBSpaceAlbumHeaderViewDelegate <NSObject>

- (void)onSelectItemforUpdateUI;  //UI更新
- (void)onSelectItemforPlayALl;   //播放全部
- (void)onSelectItemforDownAll;   //下载全部
- (void)onSelectItemforMoreAll;   //更多

@end

@interface MBSpaceAlbumHeaderView : UIView

@property (nonatomic,assign)id<MBSpaceAlbumHeaderViewDelegate>delegate;
@property (nonatomic,assign)UIDeviceOrientation     orientation;

@property (nonatomic,strong)NSDictionary        *dateDic;
@property (nonatomic,strong)NSString            *musicCount;
@property (nonatomic,strong)NSString            *musicSize;

- (CGFloat)getHeightForNewUI; //获取UI增值
- (void)onUpdateUIForDonwBt:(BOOL)isenable; //判断下载按钮是否可点击

@end
